//
//  JDHudUtil.h
//  DaoZiJinFu
//
//  Created by dzjf on 16/10/27.
//  Copyright © 2016年 dzjf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@interface JDHudUtil : NSObject

+ (void)showVprogressHUD;



#define JSSHOW(mes) [JDHudUtil showMessageAndHide:mes]
#define JSSHOWVIEW(mes,view,time) [JDHudUtil showMessage:nes onView:view hideAfter:time]
#define JSSHOWTIME(time) [JDHudUtil showMessageAndHide:time]
+ (void)showMessage:(NSString*)msg onView:(UIView *)view hideAfter:(NSTimeInterval)timeSeconds;
+ (void)showMessage:(NSString*)msg hideAfter:(NSTimeInterval)timeSeconds;
+ (void)showMessageAndHide:(NSString*)msg;


+ (void)show;
+ (void)showText:(NSString *)text;
+ (void)dismiss;




+ (void)showToView:(UIView *)view;
+ (void)HideToView:(UIView *)view;;
@end
